#include "MovePrecompiled.h"
#include "MoveFactory.h"
#include "IniFile.h"

namespace Move
{
	IMoveManager* createDevice()
	{
		std::string emu_enabled = CIniFile::GetValue("enabled","Emulator","settings.cfg");
		if( emu_enabled.compare("false")==0)
			return new MoveManager;
		else
			return new MoveEmulator;

	}

	/*IMoveManager* createRealDevice()
	{
		return new MoveManager;
	}

	IMoveManager* createEmulator()
	{
		return new MoveEmulator;
	}*/
}